/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package fr.istia.gesstages.dao.file.persistence;

import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.util.List;

/**
 *
 * @author usrlocal
 */
public interface FilePersister<T> {
    
    List<T> readAll(Class<T> classe, FileInputStream fis);
    void writeAll(List<T> entities, FileOutputStream fos);
}
